• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

linux command

grep/egrep/fgrep

파일에서 특정 문자열을 검색할 때 쓰는 명령어이다. 기본 명령어 Options 정규 표현식 옵션 option description option description -E 패턴을 확장 정규 표현식으로 해석 대소문자 무시 -F 패턴을 일반 문자열로 해석 -f 파일을 정규 표현식으로 사용 -G 패턴을 기본 정규 표현식으로 해석 -z 라인을 \n가 아닌 \0로 구분한다 -P 패턴을 Perl 정규 표...

linux commandlinux command

[Linux 명령어] cut

cut 명령어를 사용하면 문자열을 축출할 수 있다. Option -b, --bytes=LIST select only these bytes -c, --characters=LIST select only these characters -d, --delimiter=DELIM use DELIM instead of TAB for field delimiter -f, --fields=LIST select ...

linux commandcutlinuxcut

sort/uniq

파일을 주어진 규칙대로 나열하는 명령어이다. 동작 과정 파일을 줄 단위로 구분하여 각 줄을 정렬한다. 각 줄은 구분자에 의해 단어로 구분되고 각 단어를 규칙으로 사용할 수 있다. 아무 규칙이 없다면 각 줄의 첫 번째 단어를 알파벳 순서로 정렬한다. OPTION 정렬 옵션 option description -b 선행 공백을 무시한다 -f 대소문자를 무시하고 정렬한다 -n 비교 대상을 텍스트 내...

linux commandlinux command

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more